.top {
  display: flex;
  margin-left: 20px;
}

.box {
  width: 100%;
  height: 100px;
  margin-top: 20px;
  border: 1px solid #ccc;
}

.h2 {
  width: 100px;
  height: 30px;
  line-height: 30px;
  text-align: center;
  background-color: #fff;
  position: relative;
  top: -18px;
  margin-left: 20px;
}